package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.model.Company;

import java.io.Serializable;
import java.util.List;

/**
 * 初始化数据
 */
public class InitDataReqDto implements Serializable {

	/**
	 * 初始化公司Uuid
	 */
	private List<String> companyUuids;

	/**
	 * 初始化公司
	 */
	private List<Company> companyList;

	/**
	 * 缓存Key
	 */
	private String cacheKey;

	/**
	 * 初始化类型
	 */
	@TYWValid(min = 1, max = 10)
	private String initType;

	public List<String> getCompanyUuids() {
		return companyUuids;
	}

	public void setCompanyUuids(List<String> companyUuids) {
		this.companyUuids = companyUuids;
	}

	public List<Company> getCompanyList() {
		return companyList;
	}

	public void setCompanyList(List<Company> companyList) {
		this.companyList = companyList;
	}

	public String getCacheKey() {
		return cacheKey;
	}

	public void setCacheKey(String cacheKey) {
		this.cacheKey = cacheKey;
	}

	public String getInitType() {
		return initType;
	}

	public void setInitType(String initType) {
		this.initType = initType;
	}

}
